/*
 * 文件名：Header.java
 * 版权：亚信联创版权所有
 * 描述：TODO
 * 修改人：xuwei3
 * 修改时间：2015-5-20
 * 修改内容：TODO
 */
package com.ailk.bigdata.etl.realstream.server.model;

import com.google.common.primitives.UnsignedInteger;

/**
 * @description TODO
 * @author [xuwei3]
 * @version [版本号,2015-5-20]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public final class Header
{
	private int totalLength;
	private int messageType;// 消息类型
	private UnsignedInteger sequenceId;
	private short totalContents;

	public int getTotalLength()
	{
		return totalLength;
	}

	public void setTotalLength(int totalLength)
	{
		this.totalLength = totalLength;
	}

	public int getMessageType()
	{
		return messageType;
	}

	public void setMessageType(int messageType)
	{
		this.messageType = messageType;
	}

	public UnsignedInteger getSequenceId()
	{
		return sequenceId;
	}

	public void setSequenceId(UnsignedInteger sequenceId)
	{
		this.sequenceId = sequenceId;
	}

	public short getTotalContents()
	{
		return totalContents;
	}

	public void setTotalContents(short totalContents)
	{
		this.totalContents = totalContents;
	}

}
